package com.ttdev.mmms.repository;

import com.ttdev.mmms.entity.Account;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @author 杨培朔
 * @create 2019-12-02 20:39
 * 会员可通过此操作进行查询出本人的消费记录
 *
 */

@Repository
public interface ConsumptionRepository {
    @Select("select * from check_info where member_id = #{member_id}")
    public List<Account> findAll(int id);
}